package com.onec.service.auth.dao;

import com.onec.service.api.dao.BaseRepository;
import com.onec.service.auth.entity.CustomerPermission;
import org.springframework.data.repository.RepositoryDefinition;

import java.util.List;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = CustomerPermission.class, idClass = Long.class)
public interface CustomerPermissionRepository extends BaseRepository<CustomerPermission, Long> {


    List<CustomerPermission> findByCustomerId(long customerId);
}
